Skip to content

test(e2e): fix rust upload path assertions#960

Merged
drew merged 1 commit intomainfrom
upload-bugfix
Apr 24, 2026
Merged

test(e2e): fix rust upload path assertions#960
drew merged 1 commit intomainfrom
upload-bugfix

Conversation

@drew
Copy link
Copy Markdown
Collaborator

@drew drew commented Apr 24, 2026

Summary

Update the Rust e2e upload tests to match the new basename-preserving directory upload semantics introduced in #952. This fixes the e2e / E2E (rust) regression from run 24874464695.

Related Issue

Regression from #952
Failed workflow: https://github.com/NVIDIA/OpenShell/actions/runs/24874464695/job/72828948289

Changes

  • Update upload_create to read directory uploads from /sandbox/data/project/...
  • Update sync round-trip expectations for directory downloads after upload
  • Update the .gitignore filtered upload test to verify the nested repo directory

Testing

  • mise run pre-commit passes
  • Unit tests added/updated
  • E2E tests added/updated (if applicable)
  • cargo fmt --all -- --check
  • RUSTC_WRAPPER= CARGO_BUILD_JOBS=1 cargo test --manifest-path e2e/rust/Cargo.toml --features e2e --test sync --no-run
  • RUSTC_WRAPPER= CARGO_BUILD_JOBS=1 cargo test --manifest-path e2e/rust/Cargo.toml --features e2e --test upload_create --no-run
  • mise run pre-commit currently fails locally in rust:check because sccache hits Too many open files

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)
  • Architecture docs updated (if applicable)

Signed-off-by: Drew Newberry <anewberry@nvidia.com>
@drew drew requested a review from a team as a code owner April 24, 2026 15:11
@drew drew self-assigned this Apr 24, 2026
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot Bot commented Apr 24, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

Copy link
Copy Markdown
Collaborator

@pimlock pimlock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe worth calling this out somewhere that was a breaking change?

@drew drew merged commit a34b25a into main Apr 24, 2026
10 checks passed
@drew drew deleted the upload-bugfix branch April 24, 2026 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants